package com.chixing.vo;

import com.chixing.pojo.Cart;
import com.chixing.pojo.Comment;
import com.chixing.pojo.Customer;
import com.chixing.pojo.Product;

import java.util.List;
import java.util.Map;

public class CartVo {

  private List<Cart> carts;
  //每条购物车信息对应的商品
  private Map<Cart, Product> cartProductMap;

  public CartVo(List<Cart> carts, Map<Cart, Product> cartProductMap) {
    this.carts = carts;
    this.cartProductMap = cartProductMap;
  }

  public CartVo() {
  }

  public List<Cart> getCarts() {
    return carts;
  }

  public void setCarts(List<Cart> carts) {
    this.carts = carts;
  }

  public Map<Cart, Product> getCartProductMap() {
    return cartProductMap;
  }

  public void setCartProductMap(Map<Cart, Product> cartProductMap) {
    this.cartProductMap = cartProductMap;
  }
}
